﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

namespace tools{
public class Languages {

	private static Languages insit = null;
	private Dictionary<string,string> lang = new Dictionary<string,string>();

	public static Languages getInstance(){
		if(insit == null){
			insit = new Languages();
		}
		return insit;
	}

	public void setData(string key,string value){
		lang.Add (key, value);
	}

	public string get(string key){
		return lang[key];
	}
}
}
